Leicester City came from behind to beat Hull City as Foxes caretaker boss Craig Shakespeare gained his second win from his two games in charge.